import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

export default new Vuex.Store({
  state: {
<<<<<<< .merge_file_EKRd66
    token:localStorage.getItem('token') || null
=======
>>>>>>> .merge_file_qHcp12
  },
  getters: {
  },
  mutations: {
<<<<<<< .merge_file_EKRd66
    setToken(state,val) {
      state.token = val;
      localStorage.setItem('token',val)
    }
=======
>>>>>>> .merge_file_qHcp12
  },
  actions: {
  },
  modules: {
  }
})
